package com.ekuaitu.kuaitu.bean;

/**
 * Created by Michael Pi on 2016/12/10.
 */

public class ValidateBikeBean {


    /**
     * status : 200
     * message : 成功
     * debug : null
     * attachment : {"bikeInfo":{"id":385,"bikeId":385,"licenseTag":"20000001","useStatus":10,"lockStatus":0,"bikeStatus":1,"battery":-14,"longitude":116.32949472057929,"latitude":39.16047455291394,"bikeMachineUnique":"F0:C7:7F:FA:4E:51","bikeMachinePassword":"48,48,48,48,48,48,48","bikeMachineKey":"32, 87, 47, 82, 54, 75, 63, 71, 48, 80, 65, 88, 17, 99, 45, 43","lockType":2}}
     */

    private int status;
    private String message;
    private Object debug;
    private AttachmentBean attachment;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getDebug() {
        return debug;
    }

    public void setDebug(Object debug) {
        this.debug = debug;
    }

    public AttachmentBean getAttachment() {
        return attachment;
    }

    public void setAttachment(AttachmentBean attachment) {
        this.attachment = attachment;
    }

    public static class AttachmentBean {
        /**
         * bikeInfo : {"id":385,"bikeId":385,"licenseTag":"20000001","useStatus":10,"lockStatus":0,"bikeStatus":1,"battery":-14,"longitude":116.32949472057929,"latitude":39.16047455291394,"bikeMachineUnique":"F0:C7:7F:FA:4E:51","bikeMachinePassword":"48,48,48,48,48,48,48","bikeMachineKey":"32, 87, 47, 82, 54, 75, 63, 71, 48, 80, 65, 88, 17, 99, 45, 43","lockType":2}
         */

        private BikeInfoBean bikeInfo;

        public BikeInfoBean getBikeInfo() {
            return bikeInfo;
        }

        public void setBikeInfo(BikeInfoBean bikeInfo) {
            this.bikeInfo = bikeInfo;
        }

        public static class BikeInfoBean {
            /**
             * id : 385
             * bikeId : 385
             * licenseTag : 20000001
             * useStatus : 10
             * lockStatus : 0
             * bikeStatus : 1
             * battery : -14
             * longitude : 116.32949472057929
             * latitude : 39.16047455291394
             * bikeMachineUnique : F0:C7:7F:FA:4E:51
             * bikeMachinePassword : 48,48,48,48,48,48,48
             * bikeMachineKey : 32, 87, 47, 82, 54, 75, 63, 71, 48, 80, 65, 88, 17, 99, 45, 43
             * lockType : 2
             */

            private String id;
            private String bikeId;
            private String licenseTag;
            private int useStatus;
            private int lockStatus;
            private int bikeStatus;
            private int battery;
            private double longitude;
            private double latitude;
            private String bikeMachineUnique;
            private String bikeMachinePassword;
            private String bikeMachineKey;
            private int lockType;

            private int isRedPackage;

            public int getIsRedPackage() {
                return isRedPackage;
            }

            public void setIsRedPackage(int isRedPackage) {
                this.isRedPackage = isRedPackage;
            }




            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getBikeId() {
                return bikeId;
            }

            public void setBikeId(String bikeId) {
                this.bikeId = bikeId;
            }

            public String getLicenseTag() {
                return licenseTag;
            }

            public void setLicenseTag(String licenseTag) {
                this.licenseTag = licenseTag;
            }

            public int getUseStatus() {
                return useStatus;
            }

            public void setUseStatus(int useStatus) {
                this.useStatus = useStatus;
            }

            public int getLockStatus() {
                return lockStatus;
            }

            public void setLockStatus(int lockStatus) {
                this.lockStatus = lockStatus;
            }

            public int getBikeStatus() {
                return bikeStatus;
            }

            public void setBikeStatus(int bikeStatus) {
                this.bikeStatus = bikeStatus;
            }

            public int getBattery() {
                return battery;
            }

            public void setBattery(int battery) {
                this.battery = battery;
            }

            public double getLongitude() {
                return longitude;
            }

            public void setLongitude(double longitude) {
                this.longitude = longitude;
            }

            public double getLatitude() {
                return latitude;
            }

            public void setLatitude(double latitude) {
                this.latitude = latitude;
            }

            public String getBikeMachineUnique() {
                return bikeMachineUnique;
            }

            public void setBikeMachineUnique(String bikeMachineUnique) {
                this.bikeMachineUnique = bikeMachineUnique;
            }

            public String getBikeMachinePassword() {
                return bikeMachinePassword;
            }

            public void setBikeMachinePassword(String bikeMachinePassword) {
                this.bikeMachinePassword = bikeMachinePassword;
            }

            public String getBikeMachineKey() {
                return bikeMachineKey;
            }

            public void setBikeMachineKey(String bikeMachineKey) {
                this.bikeMachineKey = bikeMachineKey;
            }

            public int getLockType() {
                return lockType;
            }

            public void setLockType(int lockType) {
                this.lockType = lockType;
            }
        }
    }
}
